Induction

Induction

Theory

Suppose we have an infinite line of dominoes in a row, if we know that

  1. If we knock down one domino
  2. We will knock down the next domino

Then it follows that eventually every domino will be knocked down.

The principal of mathematical induction is useful for proving that a certain statement is true for all positive integers.

Induction Proof

If we have a propositional function P(n), and we want to prove P(n) is true for any positive integer n, we do the following:

  1. Basis Step: Show that P(1) is true
  2. Induction Step: Show that if P(k), then P(k+1) for any positive integer
  3. Conclusion: Then, P(n) must be true for any positive integer

Example: Use mathematical induction to prove the following statement for every positive integer n:

2 + 4 + 6 + ... + 2n = n (n+1)

  1. Basis Step:
  1. Induction Step:
  1. Conclusion:

Examples: Induction Proof

Example: Use mathematical induction to prove the following statement for every positive integer n:

5 + 10 + 15 + ... + 5n = \frac{5n(n+1)}{2}

  1. Basis Step:
  1. Induction Step:
  1. Conclusion:

Example: Use mathematical induction to prove the following statement for every positive integer n:

1^3 + 2^3 + ... + n^3 = \frac{n^2 (n+1)^2}{4}

  1. Basis Step:
  1. Induction Step:
  1. Conclusion:

Example: Show than n<2^n for all positive integers n

  1. Basis Step: The proposition function is P(n)=n<2^n \begin{aligned} P(n)&:n<2^n \\ P(1)&:1<2^1 \\ P(1)&:1<2 \text{ (true, basis step verified)} \\ \end{aligned}
  2. Induction Step:
    Assume P(k): k < 2^k to prove P(k+1): k+1 < 2^{k+1}:

\begin{aligned} k + 1 < 2^k + 1 \le 2^k + 2k = 2^{k+1} \end{aligned}

  1. Then P(n) must be true for any positive integer n.

Example: Prove that 1+2+2^2 + ... + 2^n = 2^{n+1} - 1 for any n \ge 1

  1. When n=1:
  1. Assume k is true.

P(k): 1 + 2 + 2^k + ... + 2^k = 2^{k+1} - 1

\begin{align*} \text{ LHS: }& 1 + 2 + 2^n + ... + 2^k + 2^{k+1} \\ \text{ RHS: }& 2^{k+1+1} - 1 \end{align*}

  1. Therefore, the statement is true.

Second Principle

When assuming P(k) isn’t enough to prove P(k+1), use an extended version of basic induction proof: The second principle.

Second Principle: P(1) \text{ is true} \\ P(1) \land P(2) \land ... \to P(k+1) \text{ is true}

Example: Prove that the amount of postage greater than or equal to 8 cents can be built using only 3-cent and 5-cent stamps.

Using the second principle of induction, we have to prove that P(n) is true for n \ge 8 where P(n) is that n cents worth of postage can be built using only 3-cent and 5-cent stamps.

Assuming k can be built with 3’s and 5’s, we want to prove k+1

Base Cases: p(8) = 3 + 5 \\ p(9) = 3 + 3 + 3 \\ p(10) = 5 + 5

To get 11, 12, 13, we can just add 3 to 8, 9, and 10-case, respectively.

Therefore, for any n \ge 8, n cents worth of postage can be built using only 3-cent and 5-cent stamps.